//
//  URLHeader.h
//  DBAChain
//
//  Created by Mxionlly on 2018/9/11.
//  Copyright © 2018年 Evan. All rights reserved.
//

#ifndef URLHeader_h
#define URLHeader_h


#pragma mark - 服务器域名地址

#define YBaseURLString    @"http://119.23.46.255:8080/"

//用户登录
#define DEF_API_login      @"user/login"
//用户注册
#define DEF_API_register   @"user/register"
//获取验证码
#define DEF_API_getVerifyCode    @"msg/getVerifyCode"
//用户登出
#define DEF_API_loginOut         @"user/loginOut"
//重置密码
#define DEF_API_resetPassword    @"user/resetPassword"
//用户信息
#define DEF_API_getUser          @"user/getUser"
//上传头像云
#define DEF_API_uploadImg        @"upload/uploadPhoto"
//上传头像
#define DEF_API_uploadImgUser    @"user/uploadImg"
//昵称修改
#define DEF_API_updateName       @"user/updateName"
//修改手机号码
#define DEF_API_updatePhone      @"user/updatePhone"
//设置支付密码
#define DEF_API_setPayPassword   @"user/setPayPassword"
//发送邮箱验证码
#define DEF_API_sendEmailVerifyCode @"user/sendEmailVerifyCode"
//绑定邮箱
#define DEF_API_bindEmail        @"user/bindEmail"
//账户实名认证
#define DEF_API_generalAuth      @"verify/generalAuth"
//账户实名认证是否在审核中
#define DEF_API_isGeneralAuth    @"verify/isGeneralAuth"
//账户安全认证
#define DEF_API_safeAuth         @"verify/safeAuth"
///获取用户认证信息
#define DEF_API_UserValidate     @"verify/verifyStatus"

//查询用户拥有的算码列表
#define DEF_API_userMinerList    @"miner/userMinerList"
//查询用户算码收益列表
#define DEF_API_userMinerProfit  @"miner/minerProfit"

////////////////////////
//首页
////////////////////////
//获取新闻
#define DEF_API_NEWS      @"mainPage/news"
//获取系统算码列表
#define DEF_API_minerMian      @"miner/minerMainPage"
///获取购买算码配置信息
#define DEF_API_OpenBuyMiner      @"miner/openBuyMiner"
///购买算码
#define DEF_API_BuyMiner      @"miner/buyMiner"
//算码支付押金
#define DEF_API_PayMinerYJ      @"miner/payDeposit"
//算码支付押金
#define DEF_API_ReturnMinerYJ      @"miner/returnDeposit"
///获取邀请推广码
#define DEF_API_InvitationCode      @"user/InvitationCode"
///获取更新版本
#define DEF_API_Version      @"app/info"
///反馈
#define DEF_API_feedback     @"app/feedback"

////////////////////////
//交易
////////////////////////
///获取出售和求购列表
#define DEF_API_saleBuyOrderlist     @"trans/gteSaleAndBuyList"
///获取出售和求购详情
#define DEF_API_orderBuyAndSaleDetail     @"trans/orderBuyAndSaleDetail"
///购买或卖出 GTE
#define DEF_API_TransSaleBuyGTE      @"trans/buyOrSaleGte"
///交易折线图
#define DEF_API_tradePriceData      @"price/tradePriceData"

///购买 GTE
#define DEF_API_UserBuyTrade      @"trans/userBuyTrade"

////////////////////////
// 资产页
////////////////////////
//GTE主页概览
#define DEF_API_Overview      @"asset/overview"
//GTK主页概览
#define DEF_API_Overview_GTK  @"asset/gtkMainOverview"
//GTK主页详情概览
#define DEF_API_OverviewDetail_GTK  @"asset/gtkOverview"
//GTE主页详情概览
#define DEF_API_OverviewDetail_GTE  @"asset/gteOverview"

//订单---取消订单
#define DEF_API_getCancelOrder    @"order/cancelOrder"
//订单---卖家或买家查看订单明细
#define DEF_API_getSaleOrderDetail      @"trans/saleOrderDetail"
///支付Money
#define DEF_API_getPayMoney     @"trans/payMoney"
///卖家确认放币
#define DEF_API_getConfirmPayGte     @"trans/confirmPayGte"
///订单申诉
#define DEF_API_getOrderRevoke    @"order/orderRevoke"


//充币
#define DEF_API_getRecharge  @"transfer/recharge"
//打开提币
#define DEF_API_getopenTransfer  @"transfer/openTransfer"
//提币
#define DEF_API_getTransfer  @"transfer/transfer"

//订单求购出售列表
#define DEF_API_getOrderBuyAndSaleList    @"order/getOrderBuyAndSaleList"
//订单申诉交易及已完成列表
#define DEF_API_getOrderDetails    @"order/getOrderDetails"

//GTE提币
#define DEF_API_getWithdrawGte  @"exchange/withdrawGte"
//GTK提币
#define DEF_API_getWithdrawGtk  @"exchange/withdrawGtk"
//资金流水（GTE / GTK）
#define DEF_API_getDetailRecord  @"asset/detailRecord"

////////////////////////
// 社区
////////////////////////
//社区主页
#define DEF_API_community  @"community/overview"
//我的社区
#define DEF_API_myCommunity   @"community/myCommunity"
//社区推广级别列表
#define DEF_API_myCommunityList  @"community/levelList"

#endif /* URLHeader_h */
